exports.camelToUnderLine = function camelToUnderLine(keyName) {
  const index = keyName.search(/[A-Z]/);
  if (index < 0) {
    return keyName;
  }
  return `${keyName.slice(0, index)}_${keyName.slice(index).toLowerCase()}`;
};
